﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WareHouse.Domain.ModelClass
{
    /// <summary>
    /// 出库管理
    /// </summary>
    [SqlSugar.SugarTable("StockRemove")]
    public class StockRemove:AuditInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SqlSugar.SugarColumn(IsPrimaryKey = true)]
        public long StockRemoveId { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public StockRemoveType StockRemoveType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public long MarketId { get; set; } 
        /// <summary>
        /// 客户编号
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public long ClientId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string ClientName { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string Linkman { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string Phone { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string ModelName { get; set; } = "Admin";
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime ModelDate { get; set; }= DateTime.Now;
        /// <summary>
        /// 备注
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string Desc { get; set; }
        /// <summary>
        /// 仓库信息
        /// </summary>

        [SqlSugar.SugarColumn(IsNullable = true)]
        public long WareHouseId { get; set; }
        /// <summary>
        /// 产品信息
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable =true)]
        public string ProductList { get; set; }
    }
}
